package org.jproxy.json;

public interface JSONObject
{
	public enum Type
	{
		OBJECT, BOOLEAN, NUMBER, STRING, ARRAY, VOID;
	}

	public <T> T toObject(Class<T> clazz);

	public JSONAttribute getAttribute();

	public JSONAttribute getAttribute(String name);

	public Type getType();

}
